<%@ page import="com.jiuyun.entity.Student" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>Title</title>
  </head>
  <body>
    <%
        //模拟 servlet 传来数据
        request.setAttribute("num",100);
        request.setAttribute("height",70);
        request.setAttribute("hansome",90);
        //obj
      Student temo=new Student();
      temo.setStid(90);
      temo.setStname("提莫");
      temo.setStpass("123456");
      request.setAttribute("temo",temo);
    %>
  <h1>EL 表达式</h1>
  <h3>取值= ${num}</h3>
  <h3>逻辑运行=张三${height > 50 && handsome >80}</h3>
  <h3>逻辑运行=张三${height > 50 || handsome >80}</h3>
    <h3>空${empty hansome}</h3>
  <h3>对象属性=${temo.stname} 密码=${temo['stpass']}</h3>
  </body>
</html>
